static int cmap_rainbow[] = {  38,  0, 50,  38,  0, 51,  38,  0, 51,
  38,  0, 51,  39,  0, 52,  39,  0, 52,  39,  0, 53,  40,  0, 54,  41,  0, 55,
  41,  0, 57,  42,  0, 58,  43,  0, 60,  44,  0, 61,  45,  0, 63,  46,  0, 65,
  47,  0, 67,  48,  0, 70,  50,  0, 72,  51,  0, 75,  52,  0, 77,  53,  0, 80,
  54,  0, 83,  56,  0, 86,  57,  0, 89,  58,  0, 92,  59,  0, 96,  60,  0, 99,
  61,  0,103,  62,  0,106,  63,  0,110,  64,  0,114,  65,  0,117,  65,  0,121,
  66,  0,125,  66,  0,129,  66,  0,133,  66,  0,137,  66,  0,141,  66,  0,145,
  65,  0,150,  65,  0,154,  64,  0,158,  63,  0,162,  62,  0,166,  60,  0,170,
  59,  0,174,  57,  0,179,  55,  0,183,  52,  0,187,  50,  0,191,  47,  0,195,
  44,  0,198,  41,  0,202,  38,  0,206,  34,  0,210,  30,  0,213,  26,  0,217,
  21,  0,220,  17,  0,223,  12,  0,226,   7,  0,229,   2,  0,232,   0,  3,235,
   0,  8,237,   0, 14,240,   0, 20,242,   0, 26,244,   0, 33,246,   0, 39,247,
   0, 46,249,   0, 52,250,   0, 59,251,   0, 66,252,   0, 73,253,   0, 80,253,
   0, 86,253,   0, 93,253,   0,100,253,   0,107,253,   0,114,253,   0,121,253,
   0,128,253,   0,136,252,   0,143,252,   0,150,252,   0,157,252,   0,165,252,
   0,172,252,   0,180,252,   0,187,252,   0,194,251,   0,202,251,   0,210,251,
   0,217,251,   0,225,250,   0,232,250,   0,240,250,   0,247,250,   0,249,244,
   0,249,235,   0,248,227,   0,248,219,   0,247,210,   0,247,202,   0,246,193,
   0,245,185,   0,245,176,   0,244,167,   0,243,159,   0,241,150,   0,240,141,
   0,238,132,   0,237,123,   0,235,114,   0,232,105,   0,229, 96,   0,226, 87,
   0,222, 78,   0,217, 69,   0,212, 61,   0,206, 52,   0,198, 43,   0,190, 35,
   0,181, 27,   0,172, 20,   0,163, 13,   0,157,  7,   0,153,  2,   2,153,  0,
   7,157,  0,  13,163,  0,  20,172,  0,  27,181,  0,  35,190,  0,  43,198,  0,
  52,206,  0,  61,212,  0,  69,217,  0,  78,222,  0,  87,226,  0,  96,229,  0,
 105,232,  0, 114,235,  0, 123,237,  0, 132,238,  0, 141,240,  0, 150,241,  0,
 159,243,  0, 167,244,  0, 176,245,  0, 185,245,  0, 193,246,  0, 202,247,  0,
 210,247,  0, 219,248,  0, 227,248,  0, 235,249,  0, 244,249,  0, 250,247,  0,
 250,240,  0, 250,232,  0, 250,225,  0, 251,217,  0, 251,210,  0, 251,202,  0,
 251,194,  0, 252,187,  0, 252,180,  0, 252,172,  0, 252,165,  0, 252,157,  0,
 252,150,  0, 252,143,  0, 252,136,  0, 253,128,  0, 253,121,  0, 253,114,  0,
 253,107,  0, 253,100,  0, 253, 93,  0, 253, 86,  0, 253, 80,  0, 253, 73,  0,
 252, 66,  0, 251, 59,  0, 250, 52,  0, 249, 46,  0, 247, 39,  0, 246, 33,  0,
 244, 26,  0, 242, 20,  0, 240, 14,  0, 237,  8,  0, 235,  3,  0, 232,  0,  2,
 229,  0,  7, 226,  0, 12, 223,  0, 17, 220,  0, 21, 217,  0, 26, 213,  0, 30,
 210,  0, 34, 206,  0, 38, 202,  0, 41, 198,  0, 44, 195,  0, 47, 191,  0, 50,
 187,  0, 52, 183,  0, 55, 179,  0, 57, 174,  0, 59, 170,  0, 60, 166,  0, 62,
 162,  0, 63, 158,  0, 64, 154,  0, 65, 150,  0, 65, 145,  0, 66, 141,  0, 66,
 137,  0, 66, 133,  0, 66, 129,  0, 66, 125,  0, 66, 121,  0, 65, 117,  0, 65,
 114,  0, 64, 110,  0, 63, 106,  0, 62, 103,  0, 61,  99,  0, 60,  96,  0, 59,
  92,  0, 58,  89,  0, 57,  86,  0, 56,  83,  0, 54,  80,  0, 53,  77,  0, 52,
  75,  0, 51,  72,  0, 50,  70,  0, 48,  67,  0, 47,  65,  0, 46,  63,  0, 45,
  61,  0, 44,  60,  0, 43,  58,  0, 42,  57,  0, 41,  55,  0, 41,  54,  0, 40,
  53,  0, 39,  52,  0, 39,  52,  0, 39,  51,  0, 38,  51,  0, 38,  51,  0, 38,
                                                                 50,  0, 38 };
